<?php

CVarDumper::dump($model->sementeiras);
$this->widget('zii.widgets.grid.CGridView', array(
    'id' => 'sementeira-grid',
    'dataProvider' => $model->search(),
    //'filter'=>$model,
    'columns' => array(
        array(// this is for your related group members of the current group
            'name' => 'sementeiras.id', // this will access the attributeLabel from the member model class, and assign it to your column header
            'value' => '$data->sementeiras->id', // this will access the current group's 1st member and give out the firstname of that member
            'type' => 'raw' // this tells that the value type is raw and no formatting is to be applied to it
        ),
//        'sementeiras.id',
//        'sementeiras.data',
//        'sementeiras.entrega',
//        'sementeiras.id_produto',
//        'sementeiras.id_tabuleiro',
        array(
            'class' => 'CButtonColumn',
        ),
    ),
));
?>
